package com.example.myproject.client;


import com.allen_sauer.gwt.voices.client.Sound;
import com.allen_sauer.gwt.voices.client.SoundController;


public class Sounds  {
	
 // create sound controller
	static SoundController soundController = new SoundController();
	
	// create the sound ModCodeEntered
	final static Sound soundModCodeEntered = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
	"Sounds/ModCodeEntered.mp3");
	
	// create the sound ModNotEntered
	final static Sound soundModNotEntered = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
	"Sounds/ModNotEntered.mp3");
	
	// create the sound IncorrectLogInInfo
	final static Sound soundIncorrectLogInInfo = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
	"Sounds/IncorrectLogInInfo.mp3");
	
	// create the sound GPSLoading
	final static Sound soundGPSLoading = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
	"Sounds/GPSLoading.mp3");
	
	// create the sound MinimumLayout
	final static Sound soundMinimumLayout = soundController.createSound(Sound.MIME_TYPE_AUDIO_MPEG_MP3,
	"Sounds/MinimumLayout.mp3");
	
	public static void playModCodeEntered(){
		soundModCodeEntered.play();
	}
	public static void playModNotEntered(){
		soundModNotEntered.play();	
	}
	public static void playIncorrectLogInInfo(){
		soundIncorrectLogInInfo.play();
	}
	public static void playGPSLoading(){
		soundGPSLoading.play();
	}
	public static void playMinimumLayout(){
		soundMinimumLayout.play();
	}
}